package b6.vacancyshare.database;

import b6.vacancyshare.R;
import android.app.Activity;
import android.os.Bundle;

public class DatabaseTestActivity extends Activity
{
	/** Called when the activity is first created. */
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        DBPengguna db = new DBPengguna(this);

        //---add 3 titles---
        db.open();
        @SuppressWarnings("unused")
		long rowidpengguna;
        rowidpengguna = db.insertPengguna(
        		"John",
        		"1111",
        		"John@yahoo.com");
        rowidpengguna = db.insertPengguna(
        		"Mary",
        		"2222",
        		"Mary@yahoo.com");
        rowidpengguna = db.insertPengguna(
        		"Judy",
        		"3333",
        		"Judy@yahoo.com");
        db.close();
    }
}
